package org.example.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("cart")
public class Cart {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField("good_id")
    private String goodId;

    @TableField("u_id")
    private Integer uId;

    private Integer num;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
}